package com.ruoyi.rsikManage.mapper;

import java.util.List;
import com.ruoyi.rsikManage.domain.AlarmSendingUrlConfig;

/**
 * 报警发往的urlMapper接口
 *
 * @author ljw
 * @date 2023-11-06
 */
public interface AlarmSendingUrlMapper
{
    /**
     * 查询报警发往的url
     *
     * @param id 报警发往的url主键
     * @return 报警发往的url
     */
    public AlarmSendingUrlConfig selectAlarmSendingUrlById(Integer id);

    /**
     * 查询报警发往的url列表
     *
     * @param alarmSendingUrlConfig 报警发往的url
     * @return 报警发往的url集合
     */
    public List<AlarmSendingUrlConfig> selectAlarmSendingUrlList(AlarmSendingUrlConfig alarmSendingUrlConfig);

    /**
     * 新增报警发往的url
     *
     * @param alarmSendingUrlConfig 报警发往的url
     * @return 结果
     */
    public int insertAlarmSendingUrl(AlarmSendingUrlConfig alarmSendingUrlConfig);

    /**
     * 修改报警发往的url
     *
     * @param alarmSendingUrlConfig 报警发往的url
     * @return 结果
     */
    public int updateAlarmSendingUrl(AlarmSendingUrlConfig alarmSendingUrlConfig);

    /**
     * 删除报警发往的url
     *
     * @param id 报警发往的url主键
     * @return 结果
     */
    public int deleteAlarmSendingUrlById(Integer id);

    /**
     * 批量删除报警发往的url
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteAlarmSendingUrlByIds(Integer[] ids);
}
